/*
 * @Date: 2020-01-31 17:47:57
 * @名称: 下载列表 - 列表 - 图片
 * @版本: 0.01
 * @作者: 初雪桜
 * @邮箱: 202184199@qq.com
 * @最后编辑人: 初雪桜
 * @LastEditTime: 2020-07-15 20:05:45
 * @FilePath: /bika_comics_client/lib/Pages/Download/Widget/DownloadDownloadBody/DownloadDownloadBodyDownloadDownloadList/Widget/DownloadListImages/DownloadListImages.dart
 */
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class DownloadListImages extends StatefulWidget {
  DownloadListImages({Key key, this.src}) : super(key: key);
  final String src;
  @override
  _DownloadListImagesState createState() => _DownloadListImagesState();
}

class _DownloadListImagesState extends State<DownloadListImages> {
  @override
  Widget build(BuildContext context) {
    return Container(
      width: ScreenUtil().setWidth(188),
      height: ScreenUtil().setHeight(250),
      child: Image.network(
        widget.src,
        fit: BoxFit.cover,
      ),
    );
  }
}
